class Head
{
public:
	int max(int a, int b, int c);
	long max(long a, long b, long c);
	char max(char a , char b, char c);
	inline static float max(float a, float b, float c = 999.999)
	{
		if (a > b)
		{
			b = a;
		}
		if(c > b)
		{
			b = c;
		}

		return b;
	}
protected:
private:
};

class stu
{
	public:
		stu();
		stu(int, char *, char);
		~stu();
		void display(void);
	protected:
		int number;
		char name[20];
		char gender;
};

class student : public stu
{
public:
	student(int, char *, char, int, char *);
	void show();
private:
	int age;
	char address[100];
};